3.18.63 \(\int \frac {a c+(b c+a d) x+b d x^2}{a+b x} \, dx\) [1763]

Optimal. Leaf size=12 \[ c x+\frac {d x^2}{2} \]

[Out]

c*x+1/2*d*x^2

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.037, Rules used = {24} \begin {gather*} c x+\frac {d x^2}{2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*c + (b*c + a*d)*x + b*d*x^2)/(a + b*x),x]

[Out]

c*x + (d*x^2)/2

Rule 24

Int[(u_.)*((a_) + (b_.)*(v_))^(m_)*((A_.) + (B_.)*(v_) + (C_.)*(v_)^2), x_Symbol] :> Dist[1/b^2, Int[u*(a + b*
v)^(m + 1)*Simp[b*B - a*C + b*C*v, x], x], x] /; FreeQ[{a, b, A, B, C}, x] && EqQ[A*b^2 - a*b*B + a^2*C, 0] &&
 LeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {a c+(b c+a d) x+b d x^2}{a+b x} \, dx &=\frac {\int \left (b^2 c+b^2 d x\right ) \, dx}{b^2}\\ &=c x+\frac {d x^2}{2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 12, normalized size = 1.00 \begin {gather*} c x+\frac {d x^2}{2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*c + (b*c + a*d)*x + b*d*x^2)/(a + b*x),x]

[Out]

c*x + (d*x^2)/2

________________________________________________________________________________________

Maple [A]
time = 0.50, size = 11, normalized size = 0.92

method result size
gosper \(\frac {x \left (d x +2 c \right )}{2}\) \(11\)
default \(\frac {1}{2} d \,x^{2}+c x\) \(11\)
norman \(\frac {1}{2} d \,x^{2}+c x\) \(11\)
risch \(\frac {1}{2} d \,x^{2}+c x\) \(11\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*c+(a*d+b*c)*x+b*d*x^2)/(b*x+a),x,method=_RETURNVERBOSE)

[Out]

1/2*d*x^2+c*x

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 10, normalized size = 0.83 \begin {gather*} \frac {1}{2} \, d x^{2} + c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*c+(a*d+b*c)*x+b*d*x^2)/(b*x+a),x, algorithm="maxima")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

Fricas [A]
time = 2.13, size = 10, normalized size = 0.83 \begin {gather*} \frac {1}{2} \, d x^{2} + c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*c+(a*d+b*c)*x+b*d*x^2)/(b*x+a),x, algorithm="fricas")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 8, normalized size = 0.67 \begin {gather*} c x + \frac {d x^{2}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*c+(a*d+b*c)*x+b*d*x**2)/(b*x+a),x)

[Out]

c*x + d*x**2/2

________________________________________________________________________________________

Giac [A]
time = 0.81, size = 10, normalized size = 0.83 \begin {gather*} \frac {1}{2} \, d x^{2} + c x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*c+(a*d+b*c)*x+b*d*x^2)/(b*x+a),x, algorithm="giac")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

Mupad [B]
time = 0.02, size = 10, normalized size = 0.83 \begin {gather*} \frac {d\,x^2}{2}+c\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*c + x*(a*d + b*c) + b*d*x^2)/(a + b*x),x)

[Out]

c*x + (d*x^2)/2

________________________________________________________________________________________